<?php
require_once 'lib/rcms/core/RCMSClassLoader.php';
//web static dir
define("WEB_STATIC_ROOT"          , dirname(__FILE__).'/../web');
//web application root dir(dynamic program and content data)
define("RCMS_PRIVATE_ROOT"        , dirname(__FILE__));
//rcms framework root dir
define("RCMS_FRAMEWORK_ROOT"      , RCMS_PRIVATE_ROOT.'/lib/rcms');
//rcms template engine root dir
define("RCMS_TEMPLATE_ENGINE_ROOT", RCMS_PRIVATE_ROOT.'/lib/twig'); 

RCMSClassLoader::registerDir(RCMS_FRAMEWORK_ROOT);
RCMSClassLoader::registerDir(RCMS_FRAMEWORK_ROOT.'/core');
RCMSClassLoader::registerDir(RCMS_PRIVATE_ROOT);
RCMSClassLoader::register();
?>
